如何在angularJS深层嵌套ngRepeat中获取不同层级的$index答:var appData = [{ name: 'C++从入门到放弃',author: 'dreamapple',books: [{name: 'github'},{name: 'google'},{name: 'nodejs'},{name: 'react'} ]},{ name: 'Java从入门到跑路',author: '呵呵哒',books: [{name: '雪碧'},{name: '百事可乐'},{name: '鸡尾酒'} ]} ];...